<?php
include_once("./common.inc.php");
$smarty = new Tpl();

$navModel = new Model('nav');
$navs = $navModel->order('sort, id')->get();
$smarty->assign('navs', $navs);
$smarty->display('index.html');
